import PageTools from '@/components/PageTools/index.vue'
import UploadExcel from '@/components/UploadExcel/index.vue'
import UploadImg from '@/components/UploadImg'
const component = [PageTools, UploadExcel, UploadImg]
// 导出插件===> Vue使用使用插件
export default {
  install (vue) {
    // 遍历统一注册全局组件
    component.forEach(cp => {
      vue.component(cp.name, cp)
    })
  }
}
